package com.usdt.system.domain.resp;

import java.time.LocalDateTime;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.usdt.system.domain.req.ClueCustomerInfoReqVO;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Tag(name = "线索登记VO")
public class ClueRegisterRespVO {
	
	@Schema(title = "id")
    private Integer id;
	
	@Schema(title = "线索来源")
    private String source;

	@Schema(title = "线索级别")
    private String level;

	@Schema(title = "到访状态")
    private String visitStatus;

	@Schema(title = "线索时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime clueTime;

	@Schema(title = "人数")
    private Integer peopleNum;

	@Schema(title = "核心需求")
    private String coreRequirement;

	@Schema(title = "健康状态")
    private String healthStatus;

	@Schema(title = "病史")
    private String medicalHistory;

	//@Schema(title = "同步到项目")
    //private String synProjects;
	
	@Schema(title = "线索登记-客户")
	private List<ClueCustomerInfoRespVO> clueCustomerList;
	
	@Schema(title = "线索登记-跟进记录")
	private List<ClueFollowUpRespVO> clueFollowUpList;
	
	@Schema(title = "当前业务员")
    private String currentUserName;
	
	@Schema(title = "当前业务员id")
	private String currentUserId;
	
	@Schema(title = "部门id")
	private String deptId;
	

}
